package com.inool.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.inool.model.Teacher;

import java.util.List;

public interface TeacherService extends IService<Teacher> {
    Teacher addTeacher(Teacher teacher);
    Teacher updateTeacherInfo(String id, Teacher teacher);
    void removeTeacher(String id);
    Teacher getTeacherById(String id);
    List<Teacher> getAllTeachers();
    Page<Teacher> pageTeachers(long current, long size,
                                      String staffNumber, String name, String title);
}    